<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h3 align="center">Sign Up</h3>
	<p></p>
	<fieldset style="width: 450px; margin: 0px auto;">
		<legend>
			<b>Required Information:</b>
		</legend>
		<p></p>
		<form name="actionForm" action="RegistrationServlet" method ="POST"  >

			<table border="0">
				<tr>
					<td><label for='tcnum'>Name:</label></td>
					<td><input type='text' name='name' id='name' maxlength="11"
						 /></td>
				</tr>

				<tr>
					<td><label for='email'>Email :</label></td>
					<td><input  name='email'
						placeholder="Enter a valid email" id='email' maxlength="20"
						required /></td>
				</tr>


				<tr>
					<td><label for='username'> Password :</label></td>
					<td><input type='password' name='password' id='password'
						maxlength="15" /></td>
				</tr>

				<tr>
					<td><label for='username'> Password Again:</label></td>
					<td><input type='password' name='password2' id='password'
						maxlength="15" /></td>
				</tr>


				<tr>
					<td><label for='age'>Age :</label></td>
					<td><input  name='age' id='age'/></td>
				</tr>


				<tr>
					<td><label for='region'>Region :</label></td>
					<td><input type='text' name='region' id='region'
						maxlength="15" /></td>
				</tr>

				<tr>
					<td><label for='gender'>Gender :</label></td>
					<td><input type="radio" name="gender" value="1" checked="checked" />Male
					<input type="radio" name="gender" value="0" />Female</td>
				</tr>

				<tr>
					<td><label for='username'>About :</label></td>
					<td><input type='text' name='about' id='about'/></td>
				</tr>
				
				<tr>
				<td><input type="checkbox" name="viewable" value="1">Hide my profile</td>
				</tr>
				<tr>
					<td></td>
					<td><input type='submit' name='register' value='Register' />

					</td>
				</tr>

			</table>
		</form>
	
	</fieldset>
</body>
</html>